#include <iostream>
#include "../libraries/team/player.h"
#include "math.h"

int main(int argc, char *argv[])

{
     //int X = atoi(argv[1]) ;
     //int Y = atoi(argv[2]);

    int X = -40, Y=-10;

     Player p1("Jins");

    p1.move(X,Y);

    while(p1.parser.ball[0]==0)
    {
        p1.get_status();
        p1.turn(3);
    }

    while (1)
    {
        p1.get_status();
        //p1.follow_ball(20,30);
        p1.kicktogoal();
        //p1.send_command();
    }

    return 0;
}
